<span class='datos'>
<?php
session_start();
$prin = $_SESSION['idprincipal'];
$ent = $_SESSION['entidad'];
$mun = $_SESSION['municipio'];

echo "<table width=750 align='center'><tr><td>";

	echo  "<table align='center' width='100%'><tr class='nombres' bgcolor='#f3f3f3'><td>".
			"SINTOMATOLOGIA<br></td></tr><tr><td class='datos'>";

	$sql = "select * from cat_sintomas where nTipo = 1";
	$res = mysql_query($sql,$link);
	while (list($key,$val)= mysql_fetch_array($res)) { 
		   echo "<input name='sintoma[]' type='checkbox' value=\"$key\" $selected>$val<br>"; 
	} 
	echo "</td></tr></table>";
	echo "</td><td valign='top'>";	
	echo  "<table align='center' width='100%'><tr class='nombres' bgcolor='#f3f3f3'><td >".
			"HOSPITALIZACION<br></td></tr><tr><td class='datos'>";

	$sql = "select * from cat_sintomas where nTipo = 2";
	$res = mysql_query($sql,$link);
	while (list($key,$val)= mysql_fetch_array($res)) { 
		   echo "<input name='sintoma[]' type='checkbox' value=\"$key\" $selected>$val<br>"; 
	} 
	echo "</td></tr></table>";
echo "</td></tr>";
	echo "<tr bgcolor='#cccccc'><td class='datos' colspan='2' align='center'><b>
	<input type ='button' name ='btn_guarda' value='Terminar registro' class='datos' 		onclick='busqueda(\"guarda_datos.php\",\"save\")'/></b></td></tr>";

	echo "</table>";
?>

<div id="save"></div>
</span>
